#ifndef ADMINCENTER_H
#define ADMINCENTER_H

#include <QWidget>
#include <BorrowMag.h>
#include <AdminInfoMag.h>

namespace Ui {
class AdminCenter;
}

class AdminCenter : public QWidget
{
    Q_OBJECT

public:
    explicit AdminCenter(void(*func)(void *), void *obj, QWidget *parent = 0);
    ~AdminCenter();

private slots:
    void on_borrowMagPushButton_clicked();

    void on_adminInfoMagpushButton_clicked();

    void on_bookInfoMagPushButton_clicked();

    void on_readerInfoMagPushButton_clicked();

    void on_exitPushButton_clicked();

private:
    Ui::AdminCenter *ui;
    void(*lp)(void *);
    void *lpobj;
};

#endif // ADMINCENTER_H
